package SubClasses;

public final class Position 
{
	private final int X;
	private final int Y;	
	
	public Position(int x,int y)
	{
		this.X=x;
		this.Y=y;
	}
	public int GetX()
	{
		return X;
	}
	public int GetY()
	{
		return Y;
	}
	
	public boolean isEqual(Position b)
	{
		if (b.X==this.X && b.Y ==  this.Y) return true;
		return false;
	}
}
